package com.pp.admin.service.impl;

import com.pp.admin.mapper.AdminMapper;
import com.pp.admin.service.AdminService;
import com.pp.common.pojo.Admin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminMapper adminMapper;

    @Override
    public List<Admin> getAllUser() {
        return adminMapper.selectList(null);
    }
}
